import request from "@/utils/request";



export function delIndustry(industryIdList) {
  return request({
    url: `/backAdmin/industryApi/industry/delete?industryIdList=${industryIdList}`,
    method: "post",
  });
}


// 修改行业
export function updateIndustry(data) {
  return request({
    url: `/backAdmin/industryApi/industry/update`,
    method: "post",
    data: data,
  });
}


// 行业列表
export const listIndustry = (query) => {
  return request({
    url: "/backAdmin/industryApi/industry/list",
    method: "get",
    params: query,
  });
};

// 新增行业
export function industryAdd(data) {
  return request({
    url: "/backAdmin/industryApi/industry/add",
    method: "post",
    data: data,
  });
}


// 查询行业详细
export function getNotice(noticeId) {
  return request({
    url: "/system/notice/" + noticeId,
    method: "get",
  });
}